package com.system.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 打卡记录对象 attendance
 *
 * @author mars
 * @date 2024-04-13
 */

@Data
@ApiModel(value = "打卡记录对象")
@Builder
@Accessors(chain = true)
@TableName("attendance")
public class Attendance{

    /**
     * 编号ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 打卡提交时间
     */
    @Excel(name = "打卡提交时间")
    @ApiModelProperty(value = "打卡提交时间")
    private String submitTime;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String username;
    /**
     * 学科ID
     */
    @Excel(name = "学科ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "学科ID")
    private Long subjectId;
    /**
     * 学科名称
     */
    @Excel(name = "学科名称")
    @ApiModelProperty(value = "学科名称")
    private String subjectName;
    /**
     * $column.columnComment
     */
    @Excel(name = "学科名称")
    @ApiModelProperty(value = "$column.columnComment")
    private String endTime;
}
